<ion-header>
  <ion-navbar>
    <ion-title>
      <ion-title><span style="font-weight:400">投资需求</span></ion-title>
    </ion-title>
  </ion-navbar>
</ion-header>

<ion-content class="contactContent">
  <ion-toolbar no-border-top>
    <ion-segment color="danger" [(ngModel)]="favorites">
      <ion-segment-button value="featured" class="ionButton" (click)="buttonClick('featured')">
        Featured
      </ion-segment-button>
      <ion-segment-button value="recent" class="ionButton" (click)="buttonClick('recent')"> 
         Recent
      </ion-segment-button>
    </ion-segment>
  </ion-toolbar>
  <p style="text-align:center">你选择了：{{favorites}}</p>
  <!-- <ion-list>
    <ion-list-header>投资列表</ion-list-header>
    <ion-item>
      <ion-icon name="ionic" item-start>资金</ion-icon>
    </ion-item>
  </ion-list> -->

  <userlist [categray]="favorites"></userlist>
  
  
</ion-content>
